#define _CRT_SECURE_NO_WARNINGS
#include"SList.h"

int main()
{
	SLNode* plist = NULL;
	PushBack(&plist, 5);
	PushBack(&plist, 2);
	PushBack(&plist, 5);
	PushFront(&plist, 6);

	PopFront(&plist);

	PopBack(&plist);
	PopBack(&plist);

	PushBack(&plist, 8);
	SLNode*find1=SLFind(plist, 8);
	find1->data = 80;

	InsertAfter(find1, 9);

	EraseAfter(find1);

	SLPrint(plist);
	printf("\n");
	return 0;
}